package com.eastfair.transport.service;

import com.eastfair.venueservice.dto.ServiceBookingDTO;
import com.eastfair.venueservice.dto.ServiceBookingQuery;
import com.eastfair.venueservice.vo.ServiceBookingVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 主运服务预订
 * </p>
 *
 * @author linan
 * @date 2022-10-08
 */
public interface TransportServiceBookingService {

    /**
     * 删除预定服务
     * @param serviceBookingDTO
     * @return
     */
    Boolean delServiceBooking(ServiceBookingDTO serviceBookingDTO);

    /**
     * 添加服务预订(主运)
     * @param serviceBookingDTO
     * @return
     */
    Boolean addServiceBookingOfTransport(List<ServiceBookingDTO> serviceBookingDTO);

    /**
     * 服务预订列表（主运）
     * @param serviceBookingQuery
     * @return
     */
    List<ServiceBookingVO> queryServiceBookingListOfTransport(ServiceBookingQuery serviceBookingQuery);
}
